package uk.ac.glasgow.demosocs.impl;

import uk.ac.glasgow.demosocs.OneOfNVote;


/**
 * The Class OneOfNVoteStub.
 */
public class OneOfNVoteStub implements OneOfNVote {
	
	/** The candidate. */
	public String candidate;

	
	/**
	 * Instantiates a new one of n vote stub.
	 *
	 * @param candidate the candidate
	 */
	public OneOfNVoteStub(String candidate) {
		this.candidate = candidate;
	}
	
	
	/**
	 * Gets the candidate ID
	 * 
	 * @return the 
	 */
	@Override
	public String getCandidateGUID() {
		return candidate;
	}
	
	public String toString(){
		return candidate;
	}

}
